package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 业务模板字段对象 hg_template_field_data
 *
 * @author chenming
 * @date 2024-10-16
 */
@Data
@TableName("hg_template_field_data")
public class TemplateFieldData
{
    private static final long serialVersionUID = 1L;

    /** 字段id */
    @TableId("field_id")
    private Long fieldId;

    /** 模板id */
    @Excel(name = "模板id")
    private Long templateId;

    /** 字段名称 */
    @Excel(name = "字段名称")
    private String fieldName;

    public void setFieldId(Long fieldId)
    {
        this.fieldId = fieldId;
    }

    public Long getFieldId()
    {
        return fieldId;
    }
    public void setTemplateId(Long templateId)
    {
        this.templateId = templateId;
    }

    public Long getTemplateId()
    {
        return templateId;
    }
    public void setFieldName(String fieldName)
    {
        this.fieldName = fieldName;
    }

    public String getFieldName()
    {
        return fieldName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fieldId", getFieldId())
            .append("templateId", getTemplateId())
            .append("fieldName", getFieldName())
            .toString();
    }
}
